<?php
    use User\Model\RecommendModel;
?>
<!-- page heading start-->
<div class="page-heading">
    <h3>
        任务宝活动-数据统计
    </h3>

</div>
<!-- page heading end-->
<div class="row">
    <div class="col-sm-12">
        <section class="panel">

            <div class="panel-body">
                <table class="table table-hover general-table table-bordered">
                    <thead>
                    <tr>
                        <th width="10%">unionid</th>
                        <th width="12%">一级邀请人数</th>
                        <th width="12%">二级邀请人数</th>
                    </tr>
                    </thead>
                    <tbody>
                    <?php foreach($list as $val){?>
                    <tr>
                        <td>
                            <span style="word-break:break-all">
                                <?php echo $val['union_id'];?>
                            </span>
                        </td>
                        <td>
                            <span style="word-break:break-all">
                                <?php echo $val['first_rec'];?>
                            </span>
                        </td>
                        <td>
                            <span style="word-break:break-all">
                                <?php echo $val['sec_rec'];?>
                            </span>
                        </td>
                    </tr>
                    <?php }?>

                    </tbody>
                </table>
                <div class="pages">
                    {$page}
                </div>
            </div>
        </section>
    </div>
</div>
<script>

</script>